Skip to content

Conversation

@mohammadalfaiyazbitgo
Copy link
Contributor

No description provided.

@alextse-bg alextse-bg force-pushed the mohammad/mbe-ecdsa branch 2 times, most recently from 53f311b to c4d4c6b Compare July 3, 2025 13:36
@alextse-bg alextse-bg requested a review from pranavjain97 July 3, 2025 16:58
@alextse-bg alextse-bg force-pushed the mohammad/mbe-ecdsa branch 5 times, most recently from 7f3f777 to a658fc7 Compare July 7, 2025 14:26
@alextse-bg alextse-bg marked this pull request as ready for review July 7, 2025 14:51
pranavjain97
pranavjain97 previously approved these changes Jul 7, 2025
Copy link
Contributor

@pranavjain97 pranavjain97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking to test; but please do in a follow-up.

@@ -0,0 +1,72 @@
import { DklsComms, DklsDkg, DklsTypes } from '@bitgo-beta/sdk-lib-mpc';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename all these files to ecdsaMPCv2...

/**
* Initialize MPCv2 key generation
*/
async initMpcV2(params: { source: 'user' | 'backup' }): Promise<MpcV2InitializeResponseType> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
async initMpcV2(params: { source: 'user' | 'backup' }): Promise<MpcV2InitializeResponseType> {
async initEcdsaMpcV2KeyGen(params: { source: 'user' | 'backup' }): Promise<MpcV2InitializeResponseType> {

/**
* Execute a round in the MPCv2 protocol
*/
async mpcV2Round(params: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
async mpcV2Round(params: {
async roundEcdsaMPCv2KeyGen(params: {

/**
* Finalize MPCv2 key generation
*/
async mpcV2Finalize(params: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
async mpcV2Finalize(params: {
async finalizeEcdsaMPCv2KeyGen(params: {

};

return { ...result, wallet: result.wallet.toJSON() };
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move eddsa and mpcv2 key generation orchestration to seperate helper files. Add them to ecdsa.ts / eddsa.ts

@pranavjain97 pranavjain97 merged commit b07c98a into master Jul 8, 2025
3 checks passed
@pranavjain97 pranavjain97 deleted the mohammad/mbe-ecdsa branch July 8, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants